package ch6;

public class Test {

    public static void main(String[] args) {
        BinaryTreeNode<Integer> treeNode = new BinaryTreeNode<>();
        treeNode.setData(10);

        BinaryTreeNode<Integer> left = new BinaryTreeNode<>();
        left.setData(25);

        BinaryTreeNode<Integer> right = new BinaryTreeNode<>();
        right.setData(16);

        treeNode.setLeft(left);
        treeNode.setRight(right);

//        treeNode.levelOrder(treeNode);

        System.out.println("treeNode.getHightOfTree(treeNode) = " + treeNode.getDeepestNode(treeNode));
    }
}
